package com.tianqi.common.utils;

/**
 * 干支相关工具类
 *
 * @author zhangzedi
 * @date 2023/8/20 13:45
 **/
public class GanZhiUtil {

	public static int getZhiIndex(String zhi) {
		int index;
		switch (zhi) {
			case "子":
				index = 1;
				break;
			default:
				index = 0;
				break;
		}
		return index;
	}
}
